import { post, get, put, _delete, postFrom } from '@/utils/request'

class User {
  /**
   * 注册
   */
  async login(data) {
    const res = await postFrom('/main/login', data)
    return res
  }
}

export default new User()
